package day0602;

public class File4 {

    public static void main(String[] args) {
        int j=1000;        //1.
        while(j<=2023){    //2.
            if(j%4 ==0    &&   j%100 != 0){
                System.out.println(j+"普通闰年");
            }else if(j%400 == 0){
                System.out.println(j+"世纪闰年");
            }
            j++;           //3.
        }
    }






}
